<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我要牛奶网</title>
	<%
		String path = request.getContextPath();
		String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	%>
	<base href="<%=basePath%>">
		<script type="text/javascript" src="<%=basePath %>/template/shop/js/jquery-1.11.1.min.js"></script>
		<script  src="<%=basePath %>/template/admin/js/jquery-ui.min.js"  type="text/javascript"></script>
		<script  src="<%=basePath %>/template/admin/js/jquery.layout-latest.js"  type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="<%=basePath %>/template/admin/css/jquery-ui.min.css" />
		<link type="text/css" rel="stylesheet" href="<%=basePath %>/template/admin/css/adminIndex.css">
		<link type="text/css" rel="stylesheet" href="<%=basePath %>/template/admin/css/layout-default-latest.css">
		<SCRIPT type="text/javascript">
			$(document).ready(function () { 
				 
			    $('body').layout({ 
			    	applyDefaultStyles: false, 
			    	north__closable:true,//可以被关闭  
				    north__resizable:true,//可以改变大小  
				    north__size:80//pane的大小
			    }); 
			    $( "#accordion" ).accordion(); 
			    
			    /*
				$.ajax({
									url:'a.html',
									type:'post',
									dataType:'html',
																		 error: function(){alert('error');},
									success:function(data){
									$("#Main").html(data);
									}
								});*/
				
			    
			});  
			
			/*
			function jump(){
						$("#main").load("./templat/main.html",function(){ $("#main").fadeIn(100);}
					);*/
			function jump(){
				$("#Main").load("<%=basePath%>admin/product/productList",function(){ $("#Main").fadeIn(100);});
			}
		</SCRIPT>

</head>
<body>
	<div class="ui-layout-center ui-widget-content" id="Main">
		<div style="width: 100%;height:100%;">
			<

 src="<%=basePath%>admin/product/productList" frameBorder=0 width="100%" height="100%"></iframe>
		</div>
   	</div>
    <div class="ui-layout-north  ui-widget-header">
        <div style="float: left;">
            <div class="title1">平台</div>
            <div class="title2">后台管理</div>
        </div>
        <div id="top" style="float: right; margin: 10px;">
			<span id="Loading" class="ui-state-error" style="display: none;">  数据加载中...  </span>
			<span id="datetimenow" style="cursor: pointer;"> </span>
			  当前用户：123qwe |
			<a href="/Admin/Home/Stock" >工作台</a>
			|
			<a href="/Admin/Home/Password">修改密码</a>
			|
			<a href="/Account/LogOff">退出系统</a>
		</div>
    </div>
    <div class="ui-layout-west  ui-widget-content">
       <!-- <div id="Menu_accordion">-->
            <div id="accordion">
				<h6>商品管理</h6>
				<div>
				<ul>
					<li onclick="jump()">商品列表</li>
					<li>商品分类</li>
				</ul>
				</div>
				<h6>文章管理</h6>
				<div>
				<ul>
					<li>文章列表</li>
					<li>文章列表</li>
				</ul>
				</div>
				<h6>Section 3</h6>
				<div>
				<ul>
					<li>List item one</li>
					<li>List item two</li>
					<li>List item three</li>
				</ul>
				</div>
				<h6>Section 4</h6>
				<div>
				<ul>
					<li>List item one</li>
					<li>List item two</li>
					<li>List item three</li>
				</ul>
				</div>
				</div>
    </div>
    <div id="footer" class="ui-layout-south  ui-widget toolbar ui-widget-content ui-state-default">
        
        <a href="http://www.heejaa.com" target="_blank" class="copyright">heejaa.com</a>
    </div>
</body>
</html>